
#include <iostream>
using namespace std;

int main( int argc, char** argv)
{
    int d, cnt;
    float bk=3.0f, wk=1.2f;
    cin>>cnt;
    for( int i=0; i< cnt; ++i )
    {
        cin>>d;
        if((d/bk)+50 < d/wk)
            cout<<"Bike"<<endl;
        else
            cout<<"Walk"<<endl;
    }
    return 0;
}
